package com.luo.partner.service;

import com.luo.common.base.BaseService;
import com.luo.common.utils.Query;
import com.luo.partner.dao.model.TabRed;
import com.luo.partner.dao.model.TabRedExample;
import com.luo.partner.pojo.TabRedDO;

import java.math.BigDecimal;
import java.util.List;
/**
* TabRedService接口
* Created by laohu on 2018/9/6.
*/
public interface TabRedService extends BaseService<TabRed, TabRedExample> {
TabRed get(Integer id);

List<TabRedDO> list(Query query);

int save(TabRed role);

int update(TabRed role);

    int remove(Integer id);

List<TabRed> list(Integer userId);

    int batchRemove(Integer[] ids);

    int count(Query query);

	List<TabRed> findRedList(Long inviteUserId, BigDecimal un_settlement_recharge);
}